package com.baizhi.shane.shane.service;

import com.baizhi.shane.shane.entity.ShaneLikesQuestion;
import com.baizhi.shane.shane.vo.QuestionUserRelVO;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author wbz12
* @description 针对表【shane_likes_question(啥呢问题点赞表)】的数据库操作Service
* @createDate 2023-07-25 22:33:37
*/
public interface ShaneLikesQuestionService extends IService<ShaneLikesQuestion> {

    /**
     * 用户点赞问题，只需要questionId即可，userId自动分配为当前用户
     *
     * @Author 闻柏智
     * @Date 18:33 2023/10/4
     * @Param questionUserRelVO
     * @return java.lang.String
     **/
    String insertOneQuestionLikes(QuestionUserRelVO questionUserRelVO);

    /**
     * 用户取消点赞问题，只需要questionId即可，userId自动分配为当前用户
     *
     * @Author 闻柏智
     * @Date 18:48 2023/10/4
     * @Param questionUserRelVO
     * @return java.lang.String
     **/
    String deleteOneQuestionLikes(QuestionUserRelVO questionUserRelVO);
}
